﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BankingApp.Data.Models
{
    public class UserAccount
    {
        [Key]
        public int UserId { get; set; }
        public string Name { get; set; }

        public int AccountNumber { get; set; }

        public DateTime? LogInDate { get; set; }

        public int Balance { get; set; }
        public string UserLoginId { get; set; }
        public virtual User User { get; set; }

    }
}
